package com.magic.interview.dao;


import java.util.List;

public interface ProductDAO {
    void save();

    Product queryProductById(int id);

    @Cache
    List<Product> queryAllProducts();
}
